.class public Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment;
.super Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament;
.source "SensitivePermissionFragment.java"

# interfaces
.implements Lcom/estrongs/android/pop/app/analysis/adapters/SensitivePermissionAdapter$b;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment$c;
    }
.end annotation


# instance fields
.field protected A:Ljava/util/concurrent/atomic/AtomicLong;

.field private B:Lorg/json/JSONObject;

.field private t:Lcom/estrongs/android/pop/app/analysis/adapters/SensitivePermissionAdapter;

.field private u:Ljava/util/LinkedHashMap;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/LinkedHashMap<",
            "Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment$c;",
            "Ljava/util/List<",
            "Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament$f;",
            ">;>;"
        }
    .end annotation
.end field

.field private v:Lcom/estrongs/android/pop/app/analysis/adapters/ExpandableAdapter$f;

.field protected w:Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament$f;

.field protected x:I

.field protected y:J

.field protected z:J


# direct methods
.method public constructor <init>()V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament;-><init>()V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment;)Lcom/estrongs/android/pop/app/analysis/adapters/ExpandableAdapter$f;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment;->v:Lcom/estrongs/android/pop/app/analysis/adapters/ExpandableAdapter$f;

    return-object p0
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment;Lcom/estrongs/android/pop/app/analysis/adapters/ExpandableAdapter$f;)Lcom/estrongs/android/pop/app/analysis/adapters/ExpandableAdapter$f;
    .locals 0

    .line 2
    iput-object p1, p0, Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment;->v:Lcom/estrongs/android/pop/app/analysis/adapters/ExpandableAdapter$f;

    return-object p1
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment;ZZ)V
    .locals 0

    .line 3
    invoke-direct {p0, p1, p2}, Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment;->a(ZZ)V

    return-void
.end method

.method private a(ZZ)V
    .locals 3

    .line 9
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment;->w:Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament$f;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament$f;->b:Lcom/estrongs/fs/g;

    check-cast v0, Les/yf;

    .line 10
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v1

    new-instance v2, Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment$b;

    invoke-direct {v2, p0, p1, p2, v0}, Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment$b;-><init>(Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment;ZZLes/yf;)V

    invoke-static {v1, v0, v2, p2}, Lcom/estrongs/android/pop/app/analysis/c;->a(Landroid/content/Context;Les/yf;Lcom/estrongs/android/pop/app/analysis/c$d;Z)V

    return-void
.end method

.method static synthetic b(Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment;)Lcom/estrongs/android/pop/app/analysis/adapters/SensitivePermissionAdapter;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment;->t:Lcom/estrongs/android/pop/app/analysis/adapters/SensitivePermissionAdapter;

    return-object p0
.end method


# virtual methods
.method protected A()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment;->w:Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament$f;

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    const/4 v1, 0x0

    .line 2
    invoke-direct {p0, v0, v1}, Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment;->a(ZZ)V

    :cond_0
    return-void
.end method

.method protected a(Landroid/view/View;)V
    .locals 1

    .line 4
    invoke-super {p0, p1}, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament;->a(Landroid/view/View;)V

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament;->e:Landroid/widget/LinearLayout;

    const/16 v0, 0x8

    invoke-virtual {p1, v0}, Landroid/widget/LinearLayout;->setVisibility(I)V

    return-void
.end method

.method public a(Lcom/estrongs/android/pop/app/analysis/adapters/ExpandableAdapter$f;Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament$f;)V
    .locals 0

    .line 6
    iput-object p1, p0, Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment;->v:Lcom/estrongs/android/pop/app/analysis/adapters/ExpandableAdapter$f;

    .line 7
    iput-object p2, p0, Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment;->w:Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament$f;

    const/4 p1, 0x0

    const/4 p2, 0x1

    .line 8
    invoke-direct {p0, p1, p2}, Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment;->a(ZZ)V

    return-void
.end method

.method protected b()V
    .locals 2

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment;->t:Lcom/estrongs/android/pop/app/analysis/adapters/SensitivePermissionAdapter;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment;->u:Ljava/util/LinkedHashMap;

    invoke-virtual {v0, v1}, Lcom/estrongs/android/pop/app/analysis/adapters/ExpandableAdapter;->a(Ljava/util/Map;)V

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment;->t:Lcom/estrongs/android/pop/app/analysis/adapters/SensitivePermissionAdapter;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/analysis/adapters/ExpandableAdapter;->getItemCount()I

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    invoke-virtual {p0, v0}, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament;->f(Z)V

    return-void
.end method

.method protected l()V
    .locals 8

    .line 1
    new-instance v0, Ljava/util/LinkedHashMap;

    invoke-direct {v0}, Ljava/util/LinkedHashMap;-><init>()V

    .line 2
    iget-object v1, p0, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament;->g:Ljava/lang/String;

    iget-object v2, p0, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament;->h:Ljava/lang/String;

    iget-object v3, p0, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament;->j:Ljava/lang/String;

    invoke-static {v1, v2, v3}, Lcom/estrongs/android/pop/app/analysis/AnalysisCtrl;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Les/tf;

    move-result-object v1

    if-nez v1, :cond_0

    .line 3
    iput-object v0, p0, Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment;->u:Ljava/util/LinkedHashMap;

    return-void

    .line 4
    :cond_0
    iget-object v2, p0, Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment;->B:Lorg/json/JSONObject;

    if-nez v2, :cond_1

    .line 5
    invoke-static {}, Lcom/estrongs/android/pop/app/analysis/c;->a()Lorg/json/JSONObject;

    move-result-object v2

    iput-object v2, p0, Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment;->B:Lorg/json/JSONObject;

    .line 6
    :cond_1
    instance-of v2, v1, Les/dg;

    if-eqz v2, :cond_5

    .line 7
    check-cast v1, Les/dg;

    .line 8
    invoke-virtual {v1}, Les/dg;->f()Ljava/util/Map;

    move-result-object v1

    if-eqz v1, :cond_5

    .line 9
    invoke-interface {v1}, Ljava/util/Map;->keySet()Ljava/util/Set;

    move-result-object v2

    invoke-interface {v2}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_2
    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_5

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    .line 10
    invoke-interface {v1, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/util/List;

    if-eqz v4, :cond_2

    .line 11
    invoke-interface {v4}, Ljava/util/List;->size()I

    move-result v5

    if-nez v5, :cond_3

    goto :goto_0

    .line 12
    :cond_3
    iget-object v5, p0, Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment;->B:Lorg/json/JSONObject;

    invoke-static {v5, v3}, Lcom/estrongs/android/pop/app/analysis/c;->a(Lorg/json/JSONObject;Ljava/lang/String;)Lcom/estrongs/android/pop/app/analysis/c$c;

    move-result-object v5

    .line 13
    new-instance v6, Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment$c;

    invoke-direct {v6, p0}, Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment$c;-><init>(Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment;)V

    .line 14
    iput-object v3, v6, Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment$c;->d:Ljava/lang/String;

    .line 15
    iput-object v5, v6, Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment$c;->c:Lcom/estrongs/android/pop/app/analysis/c$c;

    .line 16
    new-instance v3, Ljava/util/ArrayList;

    invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V

    .line 17
    invoke-interface {v4}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v4

    :goto_1
    invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z

    move-result v5

    if-eqz v5, :cond_4

    invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lcom/estrongs/fs/g;

    .line 18
    new-instance v7, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament$f;

    invoke-direct {v7}, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament$f;-><init>()V

    .line 19
    iput-object v5, v7, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament$f;->b:Lcom/estrongs/fs/g;

    .line 20
    invoke-interface {v3, v7}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_1

    .line 21
    :cond_4
    invoke-virtual {v0, v6, v3}, Ljava/util/LinkedHashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_0

    .line 22
    :cond_5
    iput-object v0, p0, Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment;->u:Ljava/util/LinkedHashMap;

    return-void
.end method

.method public onResume()V
    .locals 0

    .line 1
    invoke-super {p0}, Landroidx/fragment/app/Fragment;->onResume()V

    .line 2
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment;->A()V

    return-void
.end method

.method protected u()V
    .locals 0

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/analysis/fragments/AbsBaseFragment;->q()V

    return-void
.end method

.method protected v()V
    .locals 2

    .line 1
    new-instance v0, Ljava/util/concurrent/atomic/AtomicLong;

    invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicLong;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment;->A:Ljava/util/concurrent/atomic/AtomicLong;

    .line 2
    new-instance v0, Lcom/estrongs/android/pop/app/analysis/adapters/SensitivePermissionAdapter;

    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v1

    invoke-direct {v0, v1, p0}, Lcom/estrongs/android/pop/app/analysis/adapters/SensitivePermissionAdapter;-><init>(Landroid/content/Context;Lcom/estrongs/android/pop/app/analysis/adapters/SensitivePermissionAdapter$b;)V

    iput-object v0, p0, Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment;->t:Lcom/estrongs/android/pop/app/analysis/adapters/SensitivePermissionAdapter;

    .line 3
    iget-object v1, p0, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament;->b:Landroidx/recyclerview/widget/RecyclerView;

    invoke-virtual {v1, v0}, Landroidx/recyclerview/widget/RecyclerView;->setAdapter(Landroidx/recyclerview/widget/RecyclerView$Adapter;)V

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment;->t:Lcom/estrongs/android/pop/app/analysis/adapters/SensitivePermissionAdapter;

    new-instance v1, Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment$a;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment$a;-><init>(Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment;)V

    invoke-virtual {v0, v1}, Lcom/estrongs/android/pop/app/analysis/adapters/ExpandableAdapter;->a(Lcom/estrongs/android/pop/app/analysis/adapters/ExpandableAdapter$k;)V

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment;->t:Lcom/estrongs/android/pop/app/analysis/adapters/SensitivePermissionAdapter;

    invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyDataSetChanged()V

    return-void
.end method

.method protected w()V
    .locals 0

    return-void
.end method

.method protected x()V
    .locals 0

    return-void
.end method

.method protected y()V
    .locals 4

    .line 1
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    .line 2
    iget-object v1, p0, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament;->h:Ljava/lang/String;

    const-string v2, "analysis_result_card_key"

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 3
    iget-object v1, p0, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament;->g:Ljava/lang/String;

    const-string v2, "analysis_result_card_path"

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 4
    iget-object v1, p0, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament;->r:Ljava/util/concurrent/atomic/AtomicLong;

    invoke-virtual {v1}, Ljava/util/concurrent/atomic/AtomicLong;->get()J

    move-result-wide v1

    const-string v3, "analysis_result_cleaned_size"

    invoke-virtual {v0, v3, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;J)Landroid/content/Intent;

    .line 5
    iget-object v1, p0, Lcom/estrongs/android/pop/app/analysis/fragments/SensitivePermissionFragment;->A:Ljava/util/concurrent/atomic/AtomicLong;

    invoke-virtual {v1}, Ljava/util/concurrent/atomic/AtomicLong;->get()J

    move-result-wide v1

    const-string v3, "analysis_result_cleaned_memory_size"

    invoke-virtual {v0, v3, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;J)Landroid/content/Intent;

    .line 6
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v1

    const/4 v2, -0x1

    invoke-virtual {v1, v2, v0}, Landroid/app/Activity;->setResult(ILandroid/content/Intent;)V

    return-void
.end method
